/*
 * Course:    CS 590 Web Services
 * Semseter:  Spring 2009
 * Professor: Sedlemeyer
 * Project:   CHEAT (Code Help Educational Assignment Tool)
 * Due Date:  May 1, 2009
 * Team:      Sarcasm
 *            (Baker, Jason; Mitchell, Robin; Shie, Keith)
 */

package cheat.authentication;

import javax.ejb.ApplicationException;


/**
 * Signals that an operation can not be performed due to
 * insufficient access levels of the caller within the system.
 * @author Keith Shie
 */
@ApplicationException(rollback=true)
public class InsufficientAccessException extends Exception {

    /**
     * Creates a new instance of <code>InsufficientAccessException</code> without detail message.
     */
    public InsufficientAccessException() {
    }


    /**
     * Constructs an instance of <code>InsufficientAccessException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public InsufficientAccessException(String msg) {
        super(msg);
    }
}
